<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
当前位置<h4><a href="/showtable/">餐桌管理</a>>修改信息</h4>
<form method="post" action="">
    {% csrf_token %}
    餐桌状态:
    {% if table.state %}
        <label>
            <input class="myCheck" type="radio" name="state" value="0"> 不可用
            <input class="myCheck" type="radio" name="state" value="1" checked> 可用
        </label>
    {% endif %}
    {% if not table.state %}
        <label>
            <input class="myCheck" type="radio" name="state" value="0"> 不可用
            <input class="myCheck" type="radio" name="state" value="1" checked> 可用
        </label>
    {% endif %}
<br>
    餐桌人数:<input type="number" name="number" required type="button" class="btn btn-default btn-lg active" value="{{ table.number }}"><br>
    <button class="btn btn-default btn-lg active">确认修改</button><br>
    <button type="reset">重置</button>
</form>
</body>
</html>